<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
    <%@ taglib uri="/struts-tags" prefix="s"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>ASIMS</title>
<link href="../CSS/style.css" rel="stylesheet" type="text/css" />
</head>

<body>
	<div id="wrap">
		<div id="header">
			<h1 id="sitename"><a href="#">ASIMS</a></h1>
			<div id="nav">
				<div id="titleblock">
					<div id="subject">机场静态信息管理系统</div>
					<div id="spirit"><a href="#">王蒙 已登录</a> | <a href="user_edit.jsp" target="_parent">个人信息维护</a> | <a href="login.jsp" target="_parent">注销</a></div>
				 </div>
				<div id="topmenu">
					<ul>
						<li><a href="index.jsp">首页</a></li>
						<li><a href="user_manag.jsp">用户和角色管理</a></li>
						<li><a href="airline_manag_InAr.jsp">航班信息管理</a></li>
						<li><a href="facilities_manag.jsp">机场设施管理</a></li>
						<li class="active"><a href="news_view_intr.jsp">新闻中心</a></li>
					</ul>
				</div>
			</div>
			<div class="clear"></div>
			<div id="breadcrumb">网站路径：<a href="index.jsp">首页</a> &raquo; <a href="news_view_intr.jsp" class="active">新闻中心</a></div>
		</div>
		
	<div id="content">
		<div id="right">
	 	  <div class="post">
			<h2><a href="">发布新闻</a></h2>
				<form action="publishNews.action" method="post" enctype="multipart/form-data">
					<div class="contactform">
						<p class="first">
						<label for="newstitle">新闻标题：</label>
						<s:textfield name="news.newstitle"></s:textfield>
						</p>
						<p>
							<label for="newscategory">新闻类别：</label>
							<input  id="site_terms_of_service" name="site[terms_of_service]" type="checkbox" disabled="disabled"/>
							机场介绍　
							<input id="site_terms_of_service" name="site[terms_of_service]" type="checkbox" disabled="disabled" />
							航班信息　
							<s:checkbox name="news.newscategory" fieldValue="机场资源" value="true" label=""/>机场资源　
							<input id="site_terms_of_service" name="site[terms_of_service]" type="checkbox" disabled="disabled"/>
							物业设施	
						</p>
						<p>
							<label for="newscontent">新闻正文：</label>
							<s:textarea name="news.newscontent"></s:textarea>
						</p>
					</div>
					<table class="specialtable" cellspacing="0" cellpadding="0">
						<tr>
						  <th scope="col">附件</th>
						  <th scope="col">操作</th>
						</tr>
						<tr>
						  <td><a href=""><span class="red">附件1</span></a></td>
						  <td>
								<a href="" onClick="window.confirm('确定要删除该附件吗？')"> 
								<span class="black">删除</span>
								</a>
						  </td>
						</tr>
						<tr>
						  <td><span class="red">附件2</span></a></td>
						  <td>
								<a href="" onClick="window.confirm('确定要删除该附件吗？')"> 
								<span class="black">删除</span>
								</a>
						</tr>
						<tr>
						  <td>上传新附件：</td>
						  <td><span class="fileInput"><input type="file" id="fileInput" name="fileInput"></span></td>
						</tr>
				  </table>
					<div class="buttons">
						<div class="butarea2"></div>
						<button type="submit" name="add" onClick="window.alert('新闻发布成功！')">
							<img src="../images/import16.png" alt=""/> 
							保存
						</button>
						<button type="reset" name="cancel" onClick="javascript:window.location.href='news_view_faci.jsp'">
							<img src="../images/cancel16.png" alt=""/> 
							取消
						</button>
					</div>
				</form>
		  </div>
		</div>
	
		<div id="sidebar">
			<div id="sidebartop"></div>
				<h2>新闻浏览</h2>
					<ul>
					  <li><a href="news_view_intr.jsp">机场介绍</a></li>
					  <li><a href="news_view_airl.jsp">航班信息</a></li>
					  <li class="active"><a href="news_view_faci.jsp">机场资源</a></li>
					  <li><a href="news_view_agen.jsp">物业资源</a></li>
					</ul>
				<h2>新闻发布</h2>
					<ul>
					  <li><a href="news_publish.jsp">发布新闻</a></li>
					</ul>
				<h2>新闻订阅</h2>
					<ul>
					  <li><a href="news_order.jsp">订阅新闻</a></li>
					</ul>
	  </div>
		<div class="clear"></div>
		<div id="bottom">
			<p><img src="../images/copyright.jpg" /></p>
			<p><a href="">隐私权</a> | <a href="">&copy;版权</a> | <a href="">法律声明</a> | <a href="">电子邮件：admin@163.com</a>
		</div>
		</div>
	
		<div id="footer">
			<div id="credits">
				ASIMS Power by IBM
			</div>
		</div>
	</div>

</body>
</html>

